<template>
<div>
  <el-container class="e-c-main">
    <iframe id="appIframe" ref="appIframe" src="./dist/index.html" name="appIframe" frameBorder="0" scrolling="no" width="100%"></iframe>
    <!-- <iframe id="appIframe" ref="appIframe" src="http://192.168.0.139:8080" name="appIframe" frameBorder="0" scrolling="no" width="100%"></iframe> -->
  </el-container>
</div>
</template>

<script>
export default {
  components: {},
  data() {
    return {

    }
  },
  created() {},
  beforeRouteEnter(to, from, next) {
    next((vm) => { // 参数vm就是当前组件的实例。
      vm.$store.dispatch("isShowNav", false);
    })
  },
  mounted() {},
  beforeDestroy() {},
  methods: {}
}
</script>

<style lang="scss" scoped>
.e-c-main {
  background-color: #fff;
  width: 100%;
  height: 100vh;
  z-index: 999;
}
</style>
